home *** CD-ROM | disk | FTP | other *** search
/ Champak 106 / Vol 106.iso / games / maple_st.swf / scripts / DefineSprite_489 / frame_1 / DoAction.as
Encoding:
Text File  |  2010-04-12  |  451 b   |  26 lines

  1. if(_root.arrowimg == "dragon")
  2. {
  3.    gotoAndPlay(2);
  4.    this._parent.style = "dragon";
  5. }
  6. else if(_root.arrowimg == "storm")
  7. {
  8.    gotoAndStop(11);
  9.    this._parent.style = "storm";
  10. }
  11. else if(_root.arrowimg == "shoot4")
  12. {
  13.    this._parent.style = "shoot4";
  14.    gotoAndStop(13);
  15. }
  16. else if(_root.arrowimg == "fire")
  17. {
  18.    this._parent.style = "fire";
  19.    gotoAndPlay(15);
  20. }
  21. else
  22. {
  23.    this._parent.style = "normal";
  24.    gotoAndStop(1);
  25. }
  26.